﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaiTu.ConfigInfo
{
    public class EventBusConfigInfo:BaseConfigInfo
    {
        private string _eventType = "redis";
        /// <summary>
        /// 队列采用的类型
        /// </summary>
        public string EventType
        {
            get
            {
                return _eventType;
            }
            set
            {
                _eventType = value;
            }
        }

        public List<EventEntity> EventEntities { get; set; }
    }

    public class EventEntity
    {
        public string EventSourceType { get; set; }

        public string EventFullType { get; set; }

        public string EventProcessorType { get; set; }
    }
}
